-
Home
-
WP Travel Engine – Tour Booking Plugin – Tour Operator Software
-
6.3.4
-
Code
-
Classes
- Cart
Total Complexity |
98 |
Dependencies |
8 |
Dependents |
15 |
Total lines |
1,019 |
Lines of code |
394 |
Logical lines of code |
244 |
Comment lines |
437 |
Methods |
55 |
Properties |
17 |
Methods 55
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
read() |
A |
47 |
8 |
34 |
add() |
S |
45 |
6 |
42 |
calculate_discount() |
S |
53 |
7 |
23 |
calculate_totals() |
S |
50 |
6 |
29 |
update() |
S |
55 |
5 |
21 |
write() |
S |
55 |
3 |
19 |
apply_tax() |
S |
70 |
3 |
6 |
get_cart_coupon_value() |
S |
70 |
3 |
5 |
get_cart_coupon_type() |
S |
70 |
3 |
5 |
get_cart_coupon_name() |
S |
70 |
3 |
5 |
get_attribute() |
S |
71 |
2 |
6 |
add_fee() |
S |
69 |
2 |
7 |
add_deductible_items() |
S |
69 |
2 |
7 |
get_totals() |
S |
74 |
2 |
4 |
getItems() |
S |
79 |
2 |
3 |
get_formated_items() |
S |
68 |
2 |
7 |
clear() |
S |
61 |
1 |
13 |
get_total() |
S |
59 |
1 |
13 |
get_cart_total() |
S |
80 |
1 |
3 |
get_due_total() |
S |
80 |
1 |
3 |
remove() |
S |
73 |
1 |
5 |
get_total_partial() |
S |
80 |
1 |
3 |
get_discount_total() |
S |
78 |
1 |
3 |
get_discount_amount() |
S |
78 |
1 |
3 |
get_cart_trip_ids() |
S |
79 |
1 |
3 |
discount_clear() |
S |
77 |
1 |
4 |
get_subtotal() |
S |
78 |
1 |
3 |
tax() |
S |
82 |
1 |
3 |
get_extra_services_totals() |
S |
67 |
1 |
9 |
apply_discounts() |
S |
80 |
1 |
3 |
get_payment_type() |
S |
82 |
1 |
3 |
get_booking_ref() |
S |
82 |
1 |
3 |
__construct() |
S |
66 |
1 |
8 |
read_cart_onload() |
S |
82 |
1 |
3 |
set_payment_gateway() |
S |
81 |
1 |
3 |
get_additional_line_items() |
S |
78 |
1 |
3 |
get_fees() |
S |
68 |
1 |
7 |
add_additional_line_items() |
S |
80 |
1 |
3 |
get_cart_id() |
S |
82 |
1 |
3 |
get_cart_key() |
S |
82 |
1 |
3 |
output() |
S |
75 |
1 |
4 |
reset_totals() |
S |
81 |
1 |
3 |
set_payment_type() |
S |
81 |
1 |
3 |
set_booking_ref() |
S |
81 |
1 |
3 |
set_attribute() |
S |
76 |
1 |
4 |
update_cart() |
S |
82 |
1 |
3 |
add_discount_values() |
S |
68 |
1 |
7 |
has_discounts() |
S |
80 |
1 |
3 |
get_discounts() |
S |
82 |
1 |
3 |
setItems() |
S |
81 |
1 |
3 |
cart_empty_message() |
S |
67 |
1 |
8 |
get_deductible_items() |
S |
68 |
1 |
7 |
get_attributes() |
S |
82 |
1 |
3 |
set_attributes() |
S |
77 |
1 |
4 |
is_loaded_from_booking() |
S |
80 |
1 |
3 |